package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 项目政策关联申报条件参数
 * @author LikeAdmin
 */
@Data
@ApiModel("项目政策关联申报条件更新参数")
public class ClientCrmProjetDetailTypeUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @NotNull(message = "projetId参数缺失")
    @ApiModelProperty(value = "项目政策编号")
    private Integer projetId;

    @NotNull(message = "declarationTypeId参数缺失")
    @ApiModelProperty(value = "申报条件编号")
    private Integer declarationTypeId;

}
